package com.hospicpc.demos.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author lse
 * @since 2024-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Messages对象", description="")
public class Messages implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("messageId")
    private String messageid;

    @TableField("senderId")
    private Long senderid;

    @TableField("receiverId")
    private Long receiverid;

    @TableField("avatar_url")
    private String avatarUrl;

    @TableField("messageContent")
    private String messagecontent;

    @TableField("sendTime")
    private LocalDateTime sendtime;

    @TableField("isRead")
    private Integer isread;
}
